<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<FitnessMVC.Data.UserProfile>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Details
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Details</h2>

    <fieldset>
        <legend>Fields</legend>
        <p>
            ProfileID:
            <%= Html.Encode(Model.ProfileID) %>
        </p>
        <p>
            UserID:
            <%= Html.Encode(Model.UserID) %>
        </p>
        <p>
            ProfilePicID:
            <%= Html.Encode(Model.ProfilePicID) %>
        </p>
        <p>
            FirstName:
            <%= Html.Encode(Model.FirstName) %>
        </p>
        <p>
            LastName:
            <%= Html.Encode(Model.LastName) %>
        </p>
        <p>
            BirthDate:
            <%= Html.Encode(String.Format("{0:g}", Model.BirthDate)) %>
        </p>
        <p>
            Sex:
            <%= Html.Encode(Model.Sex) %>
        </p>
        <p>
            Hometown:
            <%= Html.Encode(Model.Hometown) %>
        </p>
        <p>
            AboutMe:
            <%= Html.Encode(Model.AboutMe) %>
        </p>
        <p>
            MemberSince:
            <%= Html.Encode(String.Format("{0:g}", Model.MemberSince)) %>
        </p>
        <p>
            IsPublic:
            <%= Html.Encode(Model.IsPublic) %>
        </p>
    </fieldset>
    <p>

        <%=Html.ActionLink("Edit", "Edit", new { id=Model.ProfileID }) %> |
        <%=Html.ActionLink("Back to List", "Index") %>
    </p>

</asp:Content>

